﻿

<h2>@ViewBag.appointment</h2>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="~/css/aui.css" />
    <link rel="stylesheet" type="text/css" href="./css/aui.css" />
    <style type="text/css">
        .header {
            padding: 2.5rem 0.5rem 2rem 0.5rem;
        }
    </style>
</head>
<body>
    <header class="aui-bar aui-bar-nav aui-text-left header" id="header">
        <br />
        <h1>
            <a class="aui-btn aui-pull-right" tapmode onclick="openClub()">
                <i class="aui-iconfont aui-icon-mobile"></i>
            </a>
            确认预约
        </h1>
    </header>
    <div class="aui-content aui-margin-b-15">
        <ul class="aui-list aui-form-list">
            <li class="aui-list-header"><i class="aui-iconfont aui-icon-calendar">点击要预约的时间即可预约</i></li>

            @if (ViewData["appointment"].ToString().Substring(0, 1) == "1")
            {
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            上午8：00-9：00&nbsp;&nbsp;
                        </div>
                        <div>
                            <a href="/Vip/Formpost?aid=@ViewBag.id&date=@ViewBag.date&appointment=1&doctorname=@ViewBag.doctorname">
                                <div class="aui-btn aui-btn-info aui-btn-default"><font color="#FFFFFF">选择</font></div>
                            </a>
                        </div>
                    </div>
                </li>
            }
            @if (ViewData["appointment"].ToString().Substring(1, 1) == "1")
            {
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            上午9：00-10：00&nbsp;&nbsp;
                        </div>
                        <div>
                            <a href="/Vip/Formpost?aid=@ViewBag.id&date=@ViewBag.date&appointment=2&doctorname=@ViewBag.doctorname">
                                <div class="aui-btn aui-btn-info aui-btn-default"><font color="#FFFFFF">选择</font></div>
                            </a>
                        </div>
                    </div>
                </li>
            }
            @if (ViewData["appointment"].ToString().Substring(2, 1) == "1")
            {
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            上午10：00-11：00&nbsp;&nbsp;
                        </div>
                        <div>
                            <a href="/Vip/Formpost?aid=@ViewBag.id&date=@ViewBag.date&appointment=3&doctorname=@ViewBag.doctorname">
                                <div class="aui-btn aui-btn-info aui-btn-default"><font color="#FFFFFF">选择</font></div>
                            </a>
                        </div>
                    </div>
                </li>
            }
            @if (ViewData["appointment"].ToString().Substring(3, 1) == "1")
            {
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            上午11：00-12：00&nbsp;&nbsp;
                        </div>
                        <div>
                            <a href="/Vip/Formpost?aid=@ViewBag.id&date=@ViewBag.date&appointment=4&doctorname=@ViewBag.doctorname">
                                <div class="aui-btn aui-btn-info aui-btn-default"><font color="#FFFFFF">选择</font></div>
                            </a>
                        </div>
                    </div>
                </li>
            }
            @if (ViewData["appointment"].ToString().Substring(4, 1) == "1")
            {
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            下午2：00-3：00&nbsp;&nbsp;
                        </div>
                        <div>
                            <a href="/Vip/Formpost?aid=@ViewBag.id&date=@ViewBag.date&appointment=5&doctorname=@ViewBag.doctorname">
                                <div class="aui-btn aui-btn-info aui-btn-default"><font color="#FFFFFF">选择</font></div>
                            </a>
                        </div>
                    </div>
                </li>
            }
            @if (ViewData["appointment"].ToString().Substring(5, 1) == "1")
            {
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            下午3：00-4：00&nbsp;&nbsp;
                        </div>
                        <div>
                            <a href="/Vip/Formpost?aid=@ViewBag.id&date=@ViewBag.date&appointment=6&doctorname=@ViewBag.doctorname">
                                <div class="aui-btn aui-btn-info aui-btn-default"><font color="#FFFFFF">选择</font></div>
                            </a>
                        </div>
                    </div>
                </li>
            }
            @if (ViewData["appointment"].ToString().Substring(6, 1) == "1")
            {
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            下午4：00-5：00&nbsp;&nbsp;
                        </div>
                        <div>
                            <a href="/Vip/Formpost?aid=@ViewBag.id&date=@ViewBag.date&appointment=7&doctorname=@ViewBag.doctorname">
                                <div class="aui-btn aui-btn-info aui-btn-default"><font color="#FFFFFF">选择</font></div>
                            </a>
                        </div>
                    </div>
                </li>
            }
        </ul>
       </div>

</body>
</html>



